//package com.ruoyi.system.oss.fastdfs;
//
//import com.bluemiaomiao.service.FastdfsClientService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//
//@Service
//public class FastdfsService {
//    @Autowired
//    private FastdfsClientService fastdfsClientService;
//
//    public void downDemo() throws Exception {
//        String group = "group1";
//        String filename = "wKiYZV7pbjqAexm3AAASfF1SYY0428.gif";
//        String clientIpAddress = "192.168.152.101";
//        String s = fastdfsClientService.autoDownloadWithToken(group, filename, clientIpAddress);
//        System.out.println(s.substring(0,s.length()-1));
//    }
//
//}
